{% extends 'base.html' %}

{% block title %}Azure-Learning{% endblock %}

{% block content %}
    {% for post in posts %}
        <h3>{{ post.topic.name }}</h3> 
    {% endfor %}

    <form action="{% url add_post topic.id %}" method="post">
        {{ form.as_p }}
        <input type="submit" value="Submit">
    </form>

{% endblock %}

